import Taro, { Component } from "@tarojs/taro";
import { View, Button, Text, Image } from "@tarojs/components";

class Freeze extends Component {
  render() {
    const { item } = this.props;
    return (
      <View className="account-record">
        <View className="record-detail">
          <Image
            style="width:22px;height:22px;"
            src={require("../../assets/img/freeze.png")}
          />
          <View className="record-info">
            <View className="record-title-list">
              <Text className="record-font record-title">{item.name}</Text>
              <Text className="record-font">{item.commission}</Text>
            </View>
            <View className="record-status-title">
              <Text className="status-font">客户成交</Text>
            </View>
            <View className="record-date">
              <Text className="record-date-font">
                {item.orderdate.substring(0, 10)}
              </Text>
            </View>
          </View>
        </View>
      </View>
    );
  }
}
export default Freeze;
